package token

import (
	"net/http"

	"gitee.com/shiwjlinux/vblog01/exception"
)

var ErrorTokenFailed = exception.NewApiException(50001, "用户名或密码错误").
	WithHttpCode(http.StatusUnauthorized)

var (
	ErrorRefreshTokenExpired = exception.NewApiException(50003, "RefreshToken已过期")
	ErrorAccessTokenExpired  = exception.NewApiException(50003, "AccessToken已过期")
)
